<div class='row'>
  <div class='panel'>
	 <h1><?php echo $title;  ?></h1>
   <hr/>
   <?php
if(isset($message) && $message != "")
{ ?>
        <div class="alert alert-error">
          <a class="close" data-dismiss="alert" href="#">×</a>
          <p><?php echo $message;?></p>
        </div>
<?php } ?>
    <?php echo form_open("account/register", 'class="form-horizontal"');?>
    <div class='control-group'>  
      <label class='control-label'><?php echo lang('user_team');?>:</label>
      <div class='controls'>
        <?php echo form_input($username);?>
        <p><?php echo lang('username_is_teamname');?></p>
      </div>
    </div>
    <div class='control-group'>   
      <label class='control-label'><?php echo lang('email');?>:</label>
      <div class='controls'>
        <?php echo form_input($email);?>
        <p><?php echo lang('use_this_to_login');?></p>
      </div>
    </div>    
    <div class='control-group'> 
      <label class='control-label'><?php echo lang('first_name');?>:</label>
      <div class='controls'><?php echo form_input($first_name);?></div>
    </div>
    <div class='control-group'>   
      <label class='control-label'><?php echo lang('last_name');?>:</label>
      <div class='controls'><?php echo form_input($last_name);?></div>
    </div>
    <div class='control-group'>   
      <label class='control-label'><?php echo lang('password');?>:</label>
      <div class='controls'><?php echo form_input($password);?></div>
    </div>
    <div class='control-group'>   
      <label class='control-label'><?php echo lang('confirm_password');?>:</label>
      <div class='controls'><?php echo form_input($password_confirm);?></div>
    </div>  
    <div class='form-actions'>  
      <button type="submit" class="btn btn-primary"><?php echo lang('create_account');?></button>
    </div>
    <?php echo form_close();?>
  </div>
</div>
